<template>
// https://blog.csdn.net/qq_16371909/article/details/79352348

        <div id="app" class="row">
            <div class="form-group clearfix">
                <label class="control-label col-md-4">星星数量:{{starNum}}分</label>
                <div class="col-md-8">
                    <div class="grade-box">
                        <img v-for="(star,index) in stars" v-bind:src="star.src" v-on:click="rating(index)" alt="星星图片" />
                    </div>
                </div>
            </div>
        </div>
</template>
